apiVersion: apps/v1
kind: Deployment
metadata:
  name: short-app-deployment
spec:
  replicas: 1
  selector:
    matchLabels:
      app: short-app-deployment
      components: frontend
  template:
    metadata:
      labels:
        app: short-app-deployment
        components: frontend
    spec:
      containers:
      - name: short-app
        image: antonlarichev/short-app:v1.4
        resources:
          limits:
            memory: "128Mi"
            cpu: "500m"
        ports:
        - containerPort: 80
